package com.liang.pojo;

public class CarItem {
	private int id;
	public CarItem() {
		super();
	}
	public CarItem(int id, Store store, int count, double subtotal, int uid) {
		super();
		this.id = id;
		this.store = store;
		this.count = count;
		this.subtotal = subtotal;
		this.uid = uid;
	}
	@Override
	public String toString() {
		return "CarItem [id=" + id + ", store=" + store + ", count=" + count + ", subtotal=" + subtotal + ", uid=" + uid
				+ "]";
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Store getStore() {
		return store;
	}
	public void setStore(Store store) {
		this.store = store;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public double getSubtotal() {
		return subtotal;
	}
	public void setSubtotal(double subtotal) {
		this.subtotal = subtotal;
	}
	public int getUid() {
		return uid;
	}
	public void setUid(int uid) {
		this.uid = uid;
	}
	private Store store;
	private int count;
	private double subtotal;
	private int uid;
}
